package service;

import org.springframework.web.bind.annotation.RequestParam;
import pojo.Book;
import tools.Page;

/**
 * Created by Administrator on 2019/1/4.
 */
public interface BookService {
    public Page bookList(Integer id,String name,Page pageObj);
    //添加
    public int add(Book book);

    Page getBookList(Integer chooseId, String choose, Page pageObj);
    //修改
    public int update(Book book ,Book bookid);
    //根据ID查询
    public Integer getBookById(@RequestParam String bookid );

}
